🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / desktopApp / src / test / kotlin / org / meshtastic / desktop / di / DesktopKoinTest.kt
Displaying Raw • Download
desktopApp/src/test/kotlin/org/meshtastic/desktop/di/DesktopKoinTest.kt 228fa8a368d478a9a244da2eebaef812ae724df5 (228fa8a3) Text, 2.23 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.desktop.di
Tff7b72import T7ee787androidx.lifecycle.SavedStateHandle
Tff7b72import T7ee787io.ktor.client.HttpClient
Tff7b72import T7ee787io.ktor.client.engine.HttpClientEngine
Tff7b72import T7ee787kotlinx.coroutines.CoroutineDispatcher
Tff7b72import T7ee787org.koin.core.annotation.KoinExperimentalAPI
Tff7b72import T7ee787org.koin.dsl.module
Tff7b72import T7ee787org.koin.test.verify.verify
Tff7b72import T7ee787org.meshtastic.core.ble.BleLogFormat
Tff7b72import T7ee787org.meshtastic.core.ble.BleLogLevel
Tff7b72import T7ee787kotlin.test.Test
Tf0883e@OptInTb4b4b4(Te6edf3KoinExperimentalAPITff7b72::Te6edf3classTb4b4b4)
Tff7b72class T56d364DesktopKoinTest Tb4b4b4{
Tf0883e@Test
Tff7b72fun Td2a8ff`verify desktop koin modules`Tb4b4b4(Tb4b4b4) Tb4b4b4{
T8b949e// This test validates the full Koin DI graph for the Desktop target.
T8b949e// It includes the main desktopModule (repositories, use cases, ViewModels, stubs)
T8b949e// and the desktopPlatformModule (DataStores, Room database, lifecycle).
Te6edf3module Tb4b4b4{ Te6edf3includesTb4b4b4(Te6edf3desktopModuleTb4b4b4(Tb4b4b4)Tb4b4b4, Te6edf3desktopPlatformModuleTb4b4b4(Tb4b4b4)Tb4b4b4) Tb4b4b4}
Tb4b4b4.Te6edf3verifyTb4b4b4(
Te6edf3extraTypes Tff7b72=
Te6edf3listOfTb4b4b4(
Te6edf3SavedStateHandleTff7b72::Te6edf3classTb4b4b4,
Te6edf3CoroutineDispatcherTff7b72::Te6edf3classTb4b4b4,
Te6edf3HttpClientTff7b72::Te6edf3classTb4b4b4,
Te6edf3HttpClientEngineTff7b72::Te6edf3classTb4b4b4,
T8b949e// BleLoggingConfig is a data class assembled by a factory function. Koin Verify
T8b949e// still introspects its constructor params, so the wrapping enums need to be
T8b949e// declared as known types even though they're never resolved from the graph.
Te6edf3BleLogLevelTff7b72::Te6edf3classTb4b4b4,
Te6edf3BleLogFormatTff7b72::Te6edf3classTb4b4b4,
Tb4b4b4)Tb4b4b4,
Tb4b4b4)
Tb4b4b4}
Tb4b4b4}
Served by rngit 1.5.2 - Generated in 0.1s